import request from "../utils/request";

export function login(username, password) {
  return request({
    method: "post",
    url: "/api/login",
    data: {
      username,
      password,
    },
  });
}
